#!/usr/bin/python3
# -*- coding: utf-8 -*-
from os.path import dirname, abspath

BASE_DIR = dirname(dirname(abspath(__file__)))

# tornado配置文件
settings = {

    # 1688应用程序配置
    "app_key": "8910339",
    "app_secret": "c0g2Mw9TsRnb",

    # aiomysql配置
    "host": 'localhost',
    "user": "kxx",
    "password": "$5#g#hWS@Es7mexj",
    "port": 3306,
    "mysql_minsize": 1,
    "mysql_maxsize": 1,

    # aioredis配置
    "redis_url": 'redis://localhost',
    "redis_url_minsize": 1,
    "redis_url_maxsize": 1,
    "redis_password": "cMA9ccL$vZmI*x6@",

    # JWT
    'secret_key': 'QuHeM$VEgPST4yvDcr@1c$zpHpDHpX',
    'jwt_expire': 10 * 3600
}
